package com.sxhalo.manage.map;

import java.util.HashSet;
import java.util.Set;

/**
 * SysUsers entity. @author MyEclipse Persistence Tools
 */

public class SysUsers implements java.io.Serializable {

	// Fields

	private Integer userId;
	private SysUserinfo sysUserinfo;
	private String userUsername;
	private String userPassword;
	private Integer userParent;
	private Integer userIsdisable;
	private Set<SysRoles> sysRoleses = new HashSet<SysRoles>(0);

	// Constructors

	/** default constructor */
	public SysUsers() {
	}

	/** minimal constructor */
	public SysUsers(SysUserinfo sysUserinfo, String userUsername,
			String userPassword, Integer userParent, Integer userIsdisable) {
		this.sysUserinfo = sysUserinfo;
		this.userUsername = userUsername;
		this.userPassword = userPassword;
		this.userParent = userParent;
		this.userIsdisable = userIsdisable;
	}

	/** full constructor */
	public SysUsers(SysUserinfo sysUserinfo, String userUsername,
			String userPassword, Integer userParent, Integer userIsdisable,
			Set<SysRoles> sysRoleses) {
		this.sysUserinfo = sysUserinfo;
		this.userUsername = userUsername;
		this.userPassword = userPassword;
		this.userParent = userParent;
		this.userIsdisable = userIsdisable;
		this.sysRoleses = sysRoleses;
	}

	// Property accessors

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public SysUserinfo getSysUserinfo() {
		return this.sysUserinfo;
	}

	public void setSysUserinfo(SysUserinfo sysUserinfo) {
		this.sysUserinfo = sysUserinfo;
	}

	public String getUserUsername() {
		return this.userUsername;
	}

	public void setUserUsername(String userUsername) {
		this.userUsername = userUsername;
	}

	public String getUserPassword() {
		return this.userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public Integer getUserParent() {
		return this.userParent;
	}

	public void setUserParent(Integer userParent) {
		this.userParent = userParent;
	}

	public Integer getUserIsdisable() {
		return this.userIsdisable;
	}

	public void setUserIsdisable(Integer userIsdisable) {
		this.userIsdisable = userIsdisable;
	}

	public Set<SysRoles> getSysRoleses() {
		return this.sysRoleses;
	}

	public void setSysRoleses(Set<SysRoles> sysRoleses) {
		this.sysRoleses = sysRoleses;
	}

}